import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    isShowPopupShadow: false,
  },
  // 修改
  mutations: {
    changeIsShowPopupShadow(state, payload) {
      state.isShowPopupShadow = payload
    },
  },
  // 异步操作
  actions: {},
  // 模块化
  modules: {},
})
